using UnityEngine;
using UnityEngine.UI;

public class LevelCheatHandler : MonoBehaviour
{
	public Text LevelText;

	private void OnEnable()
	{
		LevelText.text = "Level " + CheatsManager.Instance.GetCurrentLevel();
	}

	public void OnNextClicked()
	{
		CheatsManager.Instance.AddLevel(1);
		OnEnable();
	}

	public void OnPreviousClicked()
	{
		CheatsManager.Instance.AddLevel(-1);
		OnEnable();
	}
}
